package com.p2p.common.enums;

/**
 * Created by Allen on 2017/3/17.
 */
public enum StatusEnum {
    DELETED(-1, "删除"),
    DISABLE(0, "停用"),
    ENABLE(1, "启用"),
    CHECKING(2, "审核中");

    private int code;
    private String name;

    StatusEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
